﻿using System.Xml.Serialization;

namespace HPCloud.Common
{

    public enum StorageOperationType
    {
        IntraServer = 0,
        ServerToLocal = 1,
        LocalToServer = 2
    }

    public enum PathType
    {
        Local = 1,   // Local is implicitly always fully qualified..
        Remote = 2,
        UnknownPathType = 3
    }

    public enum CannedPermissionTypes
    {
        [XmlEnum(Name = "private")]
        Private,
        [XmlEnum(Name = "public-read")]
        PublicRead,
        [XmlEnum(Name = "public-read-write")]
        PublicReadWrite,
        [XmlEnum(Name = "authenticated-read")]
        AuthenticatedRead,
        [XmlEnum(Name = "authenticated-read-write")]
        AuthenticatedReadWrite,
        [XmlEnum(Name = "storageContainer-owner-read")]
        storageContainerOwnerRead,
        [XmlEnum(Name = "storageContainer-owner-full-control")]
        storageContainerOwnerFullcontrol,
        Unspecified
    }

    public enum ContainerScope
    {
        Public,
        Private

    }
}


